package com.book.settings.service;

import com.book.common.Result;
import com.book.settings.pojo.User;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface UserService {

    public Integer addUser(User user);

    public PageInfo<User> getListUser(User user);
    public Integer getCountListUser(User user);

    public Integer deleteUserById(User user);

    public Integer updateUserById(User user);

    public PageInfo<User> getListALlUser(User user);
    public Integer getCountListAllUser(User user);

    public User searchUserById(String id);

    public User searchUserByAct(String act);
}
